import { useRouterStore } from '@/store/routerStore.js';

export const setPrefix = (path) => {
    const routerStore = useRouterStore();
    if (path === '/horvsreen') {
        return routerStore.prefix = 'horvsreen'
    }
    if (path === '/largescreen') {
        return routerStore.prefix = 'largescreen'
    }
    if(path === '/largeverscreen') {
        return routerStore.prefix = 'largeverscreen'
    }
    routerStore.prefix = 'versreen'
}